Ext.define('page.app.view.leftMenu', {
    extend: 'Ext.panel.Panel',
    alias:'widget.leftMenu', 
    layout: {
        type: 'accordion',
    },
    items: [{
        title: '<font style="font-size:15px;font-family:arial;">中国城市</font>',
        xtype: 'treepanel',
        rootVisible:false,
        lines:false,
        root: {
            children:[{
            	text: "中国--北京",
            	leaf: true,
            	cls:'menu-tree-children',
            	icon:'resource/icon/menu-item.png',
            	iconCls:'menu-icon-style',
        	},{ 
    			text:"中国--上海",
    			leaf: true,
    			cls:'menu-tree-children',
    			icon:'resource/icon/menu-item.png',
    			iconCls:'menu-icon-style',
			},{ 
				text:"中国--天津",
				leaf: true,
				cls:'menu-tree-children',
				icon:'resource/icon/menu-item.png',
				iconCls:'menu-icon-style',
			},{ 
        		text:"中国--重庆",
        		leaf: true,
        		cls:'menu-tree-children',
        		icon:'resource/icon/menu-item.png',
        		iconCls:'menu-icon-style',
    		}]
        },
    },{
        title: '<font style="font-size:15px;font-family:arial;">美国城市</font>',
        xtype: 'treepanel',
        rootVisible:false,
        lines:false,
        root: {
            children:[{
            	text: "美国--纽约",
            	leaf: true,
            	cls:'menu-tree-children',
            	icon:'resource/icon/menu-item.png',
            	iconCls:'menu-icon-style',
        	},{ 
    			text:"美国--洛杉矶",
    			leaf: true,
    			cls:'menu-tree-children',
    			icon:'resource/icon/menu-item.png',
    			iconCls:'menu-icon-style',
			},{ 
				text:"美国--芝加哥",
				leaf: true,
				cls:'menu-tree-children',
				icon:'resource/icon/menu-item.png',
				iconCls:'menu-icon-style',
			},{ 
        		text:"美国--休士顿",
        		leaf: true,
        		cls:'menu-tree-children',
        		icon:'resource/icon/menu-item.png',
        		iconCls:'menu-icon-style',
    		}]
        },
    },{
        title: '<font style="font-size:15px;font-family:arial;">法国城市</font>',
        xtype: 'treepanel',
        rootVisible:false,
        lines:false,
        root: {
            children:[{
            	text: "法国--巴黎",
            	leaf: true,
            	cls:'menu-tree-children',
            	icon:'resource/icon/menu-item.png',
            	iconCls:'menu-icon-style',
        	},{ 
    			text:"法国--马赛",
    			leaf: true,
    			cls:'menu-tree-children',
    			icon:'resource/icon/menu-item.png',
    			iconCls:'menu-icon-style',
			},{ 
				text:"法国--里昂",
				leaf: true,
				cls:'menu-tree-children',
				icon:'resource/icon/menu-item.png',
				iconCls:'menu-icon-style',
			},{ 
        		text:"法国--图卢兹",
        		leaf: true,
        		cls:'menu-tree-children',
        		icon:'resource/icon/menu-item.png',
        		iconCls:'menu-icon-style',
    		}]
        },
    },{
        title: '<font style="font-size:15px;font-family:arial;">德国城市</font>',
        xtype: 'treepanel',
        rootVisible:false,
        lines:false,
        root: {
            children:[{ 
            		text:"法国--图卢兹",
            		leaf: true,
            		cls:'menu-tree-children',
            		icon:'resource/icon/menu-item.png',
            		iconCls:'menu-icon-style',
        		}
            ]
        },
    }]
});